package com.southminority.ethnic.controller.coures.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 课程评价统计VO
 * 
 * @author SouthMinority
 */
@Data
@Schema(description = "课程评价统计")
public class CourseEvaluationSummaryVo {

    @Schema(description = "课程ID")
    private Long courseId;

    @Schema(description = "平均评分")
    private Double averageRating;

    @Schema(description = "评价总数")
    private Integer totalCount;

    @Schema(description = "评价列表")
    private List<CourseEvaluationVo> evaluations;

    @Schema(description = "当前用户是否已评价")
    private Boolean hasUserEvaluated;

    @Schema(description = "当前用户的评价")
    private CourseEvaluationVo userEvaluation;
} 